package com.ostrich.ostrichUserService.param.bussiness;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class RegBussinessmanParam {

    private String username;

    private String password;


    @ApiModelProperty(value = "手机号")

    @Size(max = 11)
    @Size(min =11)
    private String phone;

    @ApiModelProperty(value = "商家姓名")
    @NotBlank
    private String businessmanName;


    @ApiModelProperty(value = "地址详细信息")
    @NotBlank
    private String locationInfo;

    @ApiModelProperty(value = "纬度")
    @NotBlank
    private String latitude;

    @ApiModelProperty(value = "经度")
    @NotBlank
    private String logitude;

    @ApiModelProperty(value = "银行卡号")
    @NotBlank
    private String bankNumber;

}
